using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Workflow.Domain.Enums;

namespace Workflow.Application.DTOs.Output
{
    /// <summary>
    /// 流程业务实例DTO
    /// </summary>
    public class WorkflowInstanceDto
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 流程引擎实例ID
        /// </summary>
        public string WorkflowInstanceId { get; set; }

        /// <summary>
        /// 流程实例标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 申请人ID
        /// </summary>
        public long ApplicantUserId { get; set; }

        /// <summary>
        /// 申请人姓名
        /// </summary>
        public string ApplicantUserName { get; set; }

        /// <summary>
        /// 当前流程节点名称
        /// </summary>
        public string CurrentStepName { get; set; }

        /// <summary>
        /// 当前审批人（多个以逗号隔开）
        /// </summary>
        public string CurrentAuditUsers { get; set; }

        /// <summary>
        /// 实例状态
        /// </summary>
        public WorkflowInstanceStatuEnum StatuEnum { get; set; }

        /// <summary>
        /// 状态描述
        /// </summary>
        public string StatusDescription { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdatedTime { get; set; }
    }
} 